import pandas as pd

# 创建一个 DataFrame 存储学生成绩信息
df1 = pd.DataFrame(
    {"语文": [97, 76, 100],
     "数学": [58, 89, 99],
     "英语": [69, 83, 98]},
    index=['张三', '李四', '王五']
)
print(df1)
df2 = pd.DataFrame(
    {"语文": [97, 66, 100],
     "数学": [68, 79, 99],
     "英语": [64, 88, 98]},
    index=['七七', '小静', '小婷']
)
print(df2)
result=pd.concat([df1,df2])
print(result)